package com.shanzmoo.db.module.member.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shanzmoo.db.module.member.domain.query.MemberAccountPageQuery;
import com.shanzmoo.db.module.member.domain.query.MemberMerchantIdPageQuery;
import com.shanzmoo.db.module.member.domain.query.MemberQuery;
import com.shanzmoo.db.module.member.domain.vo.MemberInfoVO;
import com.shanzmoo.db.module.member.domain.vo.MemberOpenVO;
import com.shanzmoo.db.module.member.entity.MemberInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 平台会员表 Mapper 接口
 * </p>
 *
 * @author fs
 * @since 2021-03-28
 */
public interface MemberInfoMapper extends BaseMapper<MemberInfoEntity> {

    Page<MemberInfoVO> queryByPage(@Param("page") Page page, @Param("query") MemberQuery query);

    Page<MemberOpenVO> queryMemberMerchantByRequest(@Param("page") Page page, @Param("query") MemberMerchantIdPageQuery request);
}
